package liu.first;

import java.util.StringTokenizer;

/**
 * 1、如何把一段逗号分割的字符串转换成一个数组?
 * @author My
 *
 */
public class SplitCharacter {
	
	public static void main(String[] args) {
		StringTokenizer st=new StringTokenizer("www.oooob.cin.cin",".b");
		while(st.hasMoreElements()){
			System.out.println(st.nextToken());
		}
	}

}
